package com.example.flying_personnel_management_system.services;

import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.example.flying_personnel_management_system.dao.OvertimeMapper;
import com.example.flying_personnel_management_system.pojo.Overtime;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service

public class shj implements shjface {
    @Autowired
    OvertimeMapper overtimeMapper;

    @Override
    public List<JSONObject> sele() {

        return overtimeMapper.shjsele();
    }

    @Override
    public JSONObject seled(String id) {


        return overtimeMapper.shjd(id);
    }
}
